import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { PDFHandleRoutingModule } from './pdf-handle-routing.module';
import { PdfHandleComponent } from './pdf-handle.component';
import { WaterMarkComponent } from './water-mark/water-mark.component';
import { CommonNzModule } from 'src/common/common-nz.module';
import {
  InboxOutline,
  DeleteOutline,
  DownloadOutline,
} from '@ant-design/icons-angular/icons';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { Interceptor } from 'src/common/Interceptor';
import { UpdateJCComponent } from './update-jc/update-jc.component';
const icons: any[] = [InboxOutline, DeleteOutline, DownloadOutline];
@NgModule({
  declarations: [PdfHandleComponent, WaterMarkComponent, UpdateJCComponent],
  imports: [
    CommonModule,
    PDFHandleRoutingModule,
    CommonNzModule,
    NzIconModule.forChild(icons),
  ],
  providers: [
    { provide: HTTP_INTERCEPTORS, useClass: Interceptor, multi: true },
  ],
})
export class PDFHandleModule {}
